<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%>
<%@ taglib uri="/WEB-INF/struts-bean.tld" prefix="bean" %>
<%@ taglib uri="/WEB-INF/struts-html.tld" prefix="html" %>
<%@ taglib uri="/WEB-INF/struts-logic.tld" prefix="logic" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>adminindex</title>
<link href="../../css/style.css" rel="stylesheet" type="text/css" />
<style>
body{
	background-color: #EAEBE3;
}
</style>
<script language="javascript">
function submit_me()
{
	var oc_boatname=document.getElementById("oc_boatname").value;
	if(oc_boatname=="")
	{
		window.alert("名称不得为空！");
		return false;
	}
	
	document.getElementById("form1").action="<%=request.getContextPath()%>/admin_init_oc_boat_ice.do?method=admin_update_oc_boat_ice";
	document.getElementById("form1").submit();
	}
</script>
</head>
<body>


<div class="admin_nei">
   <form id="form1" name="form1" method="post" action="">
  <input type="hidden" name="id" id="id" value="${PlaceView.id}"/>
<div class="xge">
  <div class="gt">   
    <div class="gtt">
   <table width="100%" border="0" cellpadding="0" cellspacing="1" bgcolor="#a0a297">
     <tr>
       <td bgcolor="#eaebe3">科考船添加</td>
       </tr>
   </table>
   <table width="100%" border="0" cellpadding="5" cellspacing="1" bgcolor="#E6E6E6" id="admintxt">
     <tr>
       <td width="14%" align="right" bgcolor="#FFFFFF">科考船名称：</td>
       <td width="86%" bgcolor="#FFFFFF"><input type="text" name="oc_boatname" id="oc_boatname" value="${PlaceView.oc_boatname}"/></td>
       </tr>
     <tr>
       <td bgcolor="#FFFFFF">&nbsp;</td>
       <td bgcolor="#FFFFFF"><input type="submit" name="button" id="button" value=" 提交 " onclick="submit_me()"/></td>
     </tr>
   </table>
 </div>
    
    
    
    
    </div>
  
</div>
</form>
</div>







</body>
</html>
